# Title: Saludo
# Autho: Laguna Hernandez Biridiana 14210508
# Description: Saludo
# Input:-
# Output: Saludo


@ saludar.s - a little asm greeter.

.section          .bss
.comm buffer, 48                @


.section            .data
msg:
        .ascii  "** Greeter **\nPlease enter your name: "
msgLen = . - msg
msg2:
         .ascii  "Hello "
msg2Len = . - msg2

.section          .text
.globl  _start
_start:

mov r0, $1                @
ldr r1, =msg
ldr r2, =msgLen
mov r7, $4
svc $0

mov r0, $1                @
ldr r1, =buffer
mov r7, $4
svc $0


    mov r7, $1                @
    svc $0                    @
    .end
